<html>
<head>
<script src="bombmanplayer.js" type="text/javascript"></script>
</head>
<body>

<canvas id="myCanvas"  width=288 height=288 style="border:1px solid #c3c3c3;">
Your browser does not support the canvas element.
</canvas>
<button type="button">&gt;</button>

<script type="text/javascript">

var mapdata = [
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,2,0,1,1,0,0,1,1,0,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,2],
	[0,0,0,1,0,0,1,1,0,0,1,1,1,0,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,0,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,0,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,0,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,0,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2],
	[0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,1,2]
];
var player = new BombManPlayer("myCanvas");
player.load_map(mapdata);
player.update();
</script>

</body>
</html>